package com.example.thymeleaf.dao;

import com.example.thymeleaf.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserDao {
        @Select("select * from t_user where username = #{username}")
         User selectUserByName(String username);
}
